<?php 
if(count($outstocks)){ 
foreach ($outstocks as $key=>$outstock): ?>
           <tr>
           		  <td><?php if($page!=0){echo ($page-1)*100+$key+1;}else{echo $key+1;}?></td>
           		  <td><?php echo $outstock['sku'];?></td>
                  <td><?php echo $outstock['name'];?></td>
                  <td><?php echo $outstock['purchaser'];?></td>
                  <td><?php echo $outstock['actual'];?></td>
                  <td><?php echo $outstock['zy'];?></td>
                  <td><?php echo $outstock['ky'];?></td>
                  <td><?php echo $outstock['status'];?></td>
           </tr>
<?php endforeach;}?>
<tr  class="remove" >
      <td colspan="8">
      	<div class="mypage">
      		<div style="text-align: center;">查询结果总计:<span class="num"><?php echo $totles?></span>条</div>
     	</div>
     </td>
</tr>